package models

import "time"

type Merchant struct {
	ID               int64     `gorm:"column:id" json:"id"`
	Name             string    `gorm:"column:name" json:"name"`
	ContactId        int64     `gorm:"column:contact_id" json:"contact_id"`
	Remarks          string    `gorm:"column:remarks" json:"remarks"`
	AddressProvince  string    `gorm:"column:address_province" json:"address_province"`
	AddressCity      string    `gorm:"column:address_city" json:"address_city"`
	AddressArea      string    `gorm:"column:address_area" json:"address_area"`
	AddressInfo      string    `gorm:"column:address_info" json:"address_info"`
	CreateTime       time.Time `gorm:"column:create_time" json:"create_time"`
	UpdateTime       time.Time `gorm:"column:update_time" json:"update_time"`
	Status           int64     `gorm:"column:status" json:"status"`
	Coin             int64     `gorm:"column:coin" json:"coin"`
	WithdrawPassword string    `gorm:"column:withdraw_password" json:"withdraw_password"`
	CoinCount        int64     `gorm:"column:coin_count" json:"coin_count"`
}
